package com.ken.blog.controller.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/user")
public class UserController {
    @RequestMapping("")
    @ResponseBody
    public String index() {
        return "web/user/index";
    }

    @RequestMapping("/info")
    @ResponseBody
    public String info() {
        return "web/user/info";
    }
}
